package com.cloudbroker.bcs.platform.dav.bizexport.t2.export;

import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.CodeForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.export.YunxinBizService;
import com.cloudbroker.bcs.platform.dav.bizapi.service.export.vo.request.*;
import com.cloudbroker.bcs.platform.dav.bizapi.service.export.vo.response.*;
import com.cloudbroker.bcs.platform.dav.bizapi.t2service.export.YunxinT2BizService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by xuyn15828 on 2016/5/12.
 */
@Service
public class YunxinT2 implements YunxinT2BizService {
    @Resource
    private YunxinBizService yunxinBizService;
    
    @Override
    public CreateAccountBackVo createAccount(CreateAccountForm param) {
        return yunxinBizService.createAccount(param);
    }

    @Override
    public CodeBackVo updateAccount(CreateAccountForm param) {
        return yunxinBizService.updateAccount(param);
    }

    @Override
    public UpdateAccountBackVo updateAndGetAccount(CodeForm param) {
        return yunxinBizService.updateAndGetAccount(param);
    }

    @Override
    public CodeBackVo closureAccount(AccidForm param) {
        return yunxinBizService.closureAccount(param);
    }

    @Override
    public CodeBackVo unbanAccount(AccidForm param) {
        return yunxinBizService.unbanAccount(param);
    }

    @Override
    public CodeBackVo updateUserInfo(UserInfoForm param) {
        return yunxinBizService.updateUserInfo(param);
    }

    @Override
    public ChatroomBackVo createRoom(EditRoomForm param) {
        return yunxinBizService.createRoom(param);
    }

    @Override
    public ChatroomBackVo queryRoomInfo(QueryRoomInfoForm param) {
        return yunxinBizService.queryRoomInfo(param);
    }

    @Override
    public ChatroomBackVo updateRoomInfo(EditRoomForm param) {
        return yunxinBizService.updateRoomInfo(param);
    }

    @Override
    public ChatroomBackVo updateRoomStatus(UpdateRoomStatusForm param) {
        return yunxinBizService.updateRoomStatus(param);
    }

    @Override
    public SetMemberRoleBackVo setMemberRole(SetMemberRoleForm param) {
        return yunxinBizService.setMemberRole(param);
    }

    @Override
    public GetChatroomAddrBackVo getChatroomAddr(GetChatroomAddrForm param) {
        return yunxinBizService.getChatroomAddr(param);
    }

    @Override
    public SendChatroomMsgBackVo sendChatroomMsg(SendChatroomMsgForm param) {
        return yunxinBizService.sendChatroomMsg(param);
    }

    @Override
    public CodeBackVo setSpecialRelation(SetSpecialRelationForm param) {
        return yunxinBizService.setSpecialRelation(param);
    }
}
